﻿using LPLS.Commons.DBModule;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LPLS.DBEntities.ConfigModels
{

    // 用户实体类
    [DatabaseKey(DatabaseEnum.SqliteConfig)]
    [SugarTable("PropertyConfig")]
    public  class PropertyConfig 
    {
        [SugarColumn(IsPrimaryKey = true)]
        public Guid  Id { get; set; }

        /// <summary>
        /// 属性名称
        /// </summary>
        [SugarColumn(Length = 100, IsNullable = false)]
        public string PropertyName { get; set; }
        /// <summary>
        /// 属性ID
        /// </summary>
         public string PropertyID { get; set; } 
        /// <summary>
        /// 模块ID
        /// </summary>
        public Guid ModuleID { get; set; }
        /// <summary>
        /// 是否启用
        /// </summary>
        public bool IsActive { get; set; }


        /// <summary>
        /// 模块名称(数据库忽略字段)
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        /// <summary>
        /// 模块名称
        /// </summary>
       public string ModuleName { get; set; }
    }
}
